var array1 = new Array('010');
var array2 = ['-', '84697581'];
var arr = new Array(10);
var arr2 = new Array(1, 3, 5);
var string = array2.toString();
array2.splice(0, 1, array1[0]);
var array3 = array1.concat(array2);
array3.push('1', '2');
array3.pop();
array3.unshift('1', '2')
array3.shift();
array3.splice(0, 2, '1', '2');
array3.splice(0, 2);
array3.splice(0, 0, '1', '2');
var string = array3.join('|');
var array4 = array3.reverse();
var part1 = array4.slice(2);
var part2 = array3.slice(2, 5);
array3.splice(0, array3.length);
var array5 = array1.sort();
var array6 = array1.sort(function (a, b) { return b - a; });

array1 = [1, 5, 6, -3, 2, -4, 2, 1]
console.log(array1.entries(), array1.keys(), array1.values(),
	array1.every(value => value < 0), array1.some(value => value < 0),
	array1.filter(value => value < 0),
	array1.forEach((value) => { console.log(value) }),
	array1.map(value => value + 1),
	array1.reduce((x, y) => x - y), array1.reduceRight((x, y) => y - x),
	array1.indexOf(2), array1.lastIndexOf(2)
)
